package SpringBoot.__template.full.config.listener;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.titan.core.utils.io.ConsoleUtils;

@WebListener
public class CustomServletContextListener implements ServletContextListener {
    private final static Logger log = LoggerFactory.getLogger(CustomServletContextListener.class);
    
    @Override
    public void contextInitialized(ServletContextEvent sce) {
        ConsoleUtils.method(CustomServletContextListener.class, "contextInitialized");
    }

    @Override
    public void contextDestroyed(ServletContextEvent sce) {
        ConsoleUtils.method(CustomServletContextListener.class, "contextDestroyed");
    }

}
